package com.gitee.huanminabc.ddd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_work")
public class WorkEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("creator")
    private String creator;
    @TableField("fields")
    private String fields;
    @TableField("workId")
    private String workId;
    @TableField("`lock`")
    private String lock;

    //不存储数据库
    @TableField(exist = false)
    private String operator;
}
